package com.wudl.govern.vo;

import java.util.Date;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * meta_table
 *
 * @author wudl
 */
@Data
@ApiModel
public class MetaTableVO {

    @ApiModelProperty(value = "表id")
    private Integer Id;

    @ApiModelProperty(value = "表名称")
    private String tableName;

    @ApiModelProperty(value = "表全名")
    private String tableFullName;

    @ApiModelProperty(value = "表类型")
    private String tableType;

    @ApiModelProperty(value = "排序")
    private String sortIndex;

    @ApiModelProperty(value = "schema_类")
    private String schemaCatalog;

    @ApiModelProperty(value = "schema_名称")
    private String schemaName;

    @ApiModelProperty(value = "属性Map")
    private String attributeMap;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "备注（平台加）")
    private String remarksExt;

    @ApiModelProperty(value = "元目录id(表类型的目录) 直接上级目录id")
    private Integer metaDirId;

    @ApiModelProperty(value = "元目录(数据库目录)id 间接上级目录id")
    private Integer metaDbDirId;

    @ApiModelProperty(value = "数据源id")
    private Integer dataSourceId;

    @ApiModelProperty(value = "部门id")
    private Integer deptId;

    @ApiModelProperty(value = "插入时版本号为1，以后每次修改都加1")
    private Integer tableVersion;

    @ApiModelProperty(value = "1.从数据源加载的 2手动上传")
    private Integer fromType;

    @ApiModelProperty(value = "最后操作： 0 初始状态  1新增，2修改，3删除")
    private Integer lastOperation;

    @ApiModelProperty(value = "0:待审核  1审核不通过  2审核通过")
    private Integer lastOperationStatus;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "0无效（逻辑删除） 1有效")
    private Integer dataState;

}